package njust.tables.train;

import java.util.Date;

/**
 * InfoTrain entity. @author MyEclipse Persistence Tools
 */

public class InfoTrain implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer year;
	private Integer role;
	private Integer rsAll;
	private Integer rsOverstd;
	private Integer degreeAll;
	private Integer degreeOverstd;
	private String publisher;
	private Date pubDate;

	// Constructors

	/** default constructor */
	public InfoTrain() {
	}

	/** full constructor */
	public InfoTrain(Integer year, Integer role, Integer rsAll, Integer rsOverstd,
			Integer degreeAll, Integer degreeOverstd, String publisher,
			Date pubDate) {
		this.year = year;
		this.role = role;
		this.rsAll = rsAll;
		this.rsOverstd = rsOverstd;
		this.degreeAll = degreeAll;
		this.degreeOverstd = degreeOverstd;
		this.publisher = publisher;
		this.pubDate = pubDate;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getYear() {
		return this.year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getRole() {
		return this.role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public Integer getRsAll() {
		return this.rsAll;
	}

	public void setRsAll(Integer rsAll) {
		this.rsAll = rsAll;
	}

	public Integer getRsOverstd() {
		return this.rsOverstd;
	}

	public void setRsOverstd(Integer rsOverstd) {
		this.rsOverstd = rsOverstd;
	}

	public Integer getDegreeAll() {
		return this.degreeAll;
	}

	public void setDegreeAll(Integer degreeAll) {
		this.degreeAll = degreeAll;
	}

	public Integer getDegreeOverstd() {
		return this.degreeOverstd;
	}

	public void setDegreeOverstd(Integer degreeOverstd) {
		this.degreeOverstd = degreeOverstd;
	}

	public String getPublisher() {
		return this.publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public Date getPubDate() {
		return this.pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

}